/*
 * @Description: 
 * @Author: liyuhao
 * @Date: 2021-08-05 16:20:19
 * @LastEditors: liyuhao
 * @LastEditTime: 2021-10-15 16:28:06
 */
import { AgencyBusinessEnum, AgencyLevelEnum, BranchTypeEnum } from './enum'
import CreateEnumMap from '@/utils/CreateEnumMap'

export const AgencyBusinessMap = CreateEnumMap([
  {
    id: AgencyBusinessEnum.NotSelected,
    name: '其他'
  },
  {
    id: AgencyBusinessEnum.Chujing,
    name: '出境旅游业务'
  },
  {
    id: AgencyBusinessEnum.Jingnei,
    name: '国内旅游业务'
  },
  {
    id: AgencyBusinessEnum.Rujing,
    name: '入境旅游业务'
  },
  {
    id: AgencyBusinessEnum.Futai,
    name: '赴台旅游业务'
  },
  {
    id: AgencyBusinessEnum.Bianjing,
    name: '边境旅游业务'
  },
  {
    id: AgencyBusinessEnum.Fue,
    name: '赴俄旅游业务'
  }
])

export const AgencyLevelMap = CreateEnumMap([
  {
    id: AgencyLevelEnum['5A'],
    name: '5A'
  },
  {
    id: AgencyLevelEnum['4A'],
    name: '4A'
  },
  {
    id: AgencyLevelEnum['3A'],
    name: '3A'
  },
  {
    id: AgencyLevelEnum['2A'],
    name: '2A'
  },
  {
    id: AgencyLevelEnum['1A'],
    name: '1A'
  },
  {
    id: AgencyLevelEnum.NotRated,
    name: '未评级'
  }
])

export const BranchTypeMap = CreateEnumMap([
  {
    id: BranchTypeEnum.Branch,
    name: '分社'
  },
  {
    id: BranchTypeEnum.Point,
    name: '网点'
  }
])